package com.jiangyao.model.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.time.LocalDateTime;
import java.util.Date;

@Data
@ApiModel(value = "班级")
public class ClassInfoDto implements BaseDTO {
    /**
     * 班级id
     */
    @ApiModelProperty(value ="班级id")
    @NotNull(message = "班级id不能为空", groups = {Edit.class})
    private Integer classId;

    /**
     * 归属组织ID
     */
    @ApiModelProperty(value ="归属组织ID")
    private Integer orgId;

    /**
     * 专业
     */
    @ApiModelProperty(value ="专业")
    private String major;

    /**
     * 班级名称
     */
    @ApiModelProperty(value ="班级名称")
    private String className;

    /**
     * 年级
     */
    @ApiModelProperty(value ="年级")
    private String grade;

    /**
     * 班主任姓名
     */
    @ApiModelProperty(value ="班主任姓名")
    private String charge;

    /**
     * 班主任电话
     */
    @ApiModelProperty(value ="班主任电话")
    private String chargePhone;

    /**
     * 添加时间
     */
    @ApiModelProperty(value ="添加时间")
    private Date createTime;

    /**
     * 添加人
     */
    @ApiModelProperty(value ="添加人")
    private Integer createAdminId;

    /**
     * 状态 1-启用 0-禁用
     */
    @ApiModelProperty(value ="状态 1-启用 0-禁用",example = "1")
    private Integer status;
}